package com.rainbow.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rainbow.entity.MsgContent;
import com.rainbow.entity.SysMsg;

import java.util.List;

/**
 * @Author rainbow
 **/
public interface SysMsgService extends IService<SysMsg> {

    boolean sendMsg(MsgContent msg);

    List<SysMsg> getSysMsgByPage(Integer page, Integer size);

    boolean markRead(Long flag);

}
